<template>
  <el-divider v-on="$listeners" :content-position="contentPosition" v-bind="$attrs">
    <slot></slot>
  </el-divider>
</template>

<script>
  export default {
    name: "my-divider",
    props: {
      /** 字体位置,默认居左 **/
      contentPosition:{
        type: String,
        default: 'left'
      }
    }
  }
</script>

<style lang="scss" scoped>

</style>
